import request from '@/router/axios';
import qs from 'qs'

//删除
export const delRowCity = (id) => {
  return request({
    url: '/api/blade-public/dictCity/delete',
    method: 'post',
    params: {
      id,
    }
  })
}
// 保存
export const saveRowCity = (row) => {
  return request({
    url: '/api/blade-public/dictCity/save',
    method: 'post',
    headers:{
      "Content-Type":"application/json"
    },
    data: JSON.stringify(row)
  })
}
//编辑
export const editRowCity = (row) => {
  return request({
    url: '/api/blade-public/dictCity/edit',
    method: 'post',
    headers:
      {
        'Content-Type': 'application/json'
      },
    data: JSON.stringify(row)
  })
}
// 查询
export const queryDictCity = (params) => {
  return request({
    url: '/api/blade-public/dictCity/query',
    method: 'post',
    data: params
  })
}

